JavaScript Minifier & Unminifier

Paste your JavaScript below and choose Minify or Unminify (Pretty Print). Processing happens entirely in your browser for privacy.

Supports ES6+ including template strings and regex literals.
How it works (privacy-first)
All processing happens locally in your browser using JavaScript. No code is uploaded to any server.